import http from '@/utils/http/axios'
import { RequestEnum } from '@/enums/httpEnum'

// 获取评分列表
export function getIndexList(params) {
  return http.request(
    {
      url: `/ds/listen/list`,
      method: RequestEnum.POST,
      params
    }
  )
}
// 删除一项
export function delIndexbyId(params) {
  return http.request(
    {
      url: `/ds/common/submit`,
      method: RequestEnum.POST,
      params
    },
    {
      successMessageText: '删除指标成功'
    }
  )
}
